
var kdyCon="61c0cc2c8a054be9ff63749088882f0d";

$(document).ready(function(){
    $.ajax({
        type: "GET",
        timeout : 5000,
        url: 'http://120.25.195.170:8880/api/address/findAll',
        //url: 'https://saas.51cjgc.com/api/address/findAll',
        beforeSend: function(request) {
            request.setRequestHeader("token", '61c0cc2c8a054be9ff63749088882f0d');
        },
        success: function (data) {
            if(data.code==100){
                console.log(data)
                document.getElementById("spinner").style.display="none";
                document.getElementById("main").style.display="block";
            }else{
                fundebug.notify("address/findAll接口返回数据", JSON.stringify(data));
                layer.open({
                    content: '请求数据失败'
                    ,btn: '确定'
                });
            }
        },
        error: function(e) {
            layer.open({
                content: '无法请求服务器，请稍后再试！'
                ,btn: '确定'
            });
        }
    });
});







